package org.lq.ssm.vo;

import lombok.Data;
import org.lq.ssm.dto.MenuDTO;

import java.util.Date;
import java.util.List;

@Data
public class MenuVO {

        /**
         * id : 1
         * name : 系统管理
         * sort : 1
         * path : system
         * component : null
         * pid : 0
         * cache : false
         * hidden : false
         * componentName : null
         * icon : system
         * children : [{"id":2,"name":"用户管理","sort":2,"path":"user","component":"system/user/index","pid":1,"cache":false,"hidden":false,"componentName":"User","icon":"peoples","children":null,"createTime":1545117284000,"iframe":false},{"id":3,"name":"角色管理","sort":3,"path":"role","component":"system/role/index","pid":1,"cache":false,"hidden":false,"componentName":"Role","icon":"role","children":null,"createTime":1545117367000,"iframe":false},{"id":4,"name":"权限管理","sort":4,"path":"permission","component":"system/permission/index","pid":1,"cache":false,"hidden":false,"componentName":"Permission","icon":"permission","children":null,"createTime":1545117405000,"iframe":false},{"id":5,"name":"菜单管理","sort":5,"path":"menu","component":"system/menu/index","pid":1,"cache":false,"hidden":false,"componentName":"Menu","icon":"menu","children":null,"createTime":1545117448000,"iframe":false},{"id":35,"name":"部门管理","sort":6,"path":"dept","component":"system/dept/index","pid":1,"cache":false,"hidden":false,"componentName":"Dept","icon":"dept","children":null,"createTime":1553478360000,"iframe":false},{"id":37,"name":"岗位管理","sort":7,"path":"job","component":"system/job/index","pid":1,"cache":false,"hidden":false,"componentName":"Job","icon":"Steve-Jobs","children":null,"createTime":1553838678000,"iframe":false},{"id":39,"name":"字典管理","sort":8,"path":"dict","component":"system/dict/index","pid":1,"cache":false,"hidden":false,"componentName":"Dict","icon":"dictionary","children":null,"createTime":1554868144000,"iframe":false}]
         * createTime : 1545117089000
         * iframe : false
         */

        private int id;
        private String name;
        private int sort;
        private String path;
        private Object component;
        private int pid;
        private boolean cache;
        private boolean hidden;
        private Object componentName;
        private String icon;
        private Date createTime;
        private boolean iframe;
        private List<MenuVO> children;
}
